package home_work3;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;

public class test1 {

	public static void main(String[] args) {
		SimpleDateFormat dat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		System.out.println(dat.format(new Date()));
		Calendar dar=Calendar.getInstance();
		dar.add(Calendar.DATE, 3);
		String dat3 = dat.format(dar.getTime());
		System.out.println(dat3);
	}

}
